


 //==============================================================================
 // INCLUDES
 //==============================================================================
#include "tlmRmtCfgSrvRpcAsyncDesc.h"
//==============================================================================
// IMPLEMENTATION
//==============================================================================

/**
 * \brief	Constructor of Asynchronous descriptor, copy the parameter passed in locally
 *
 * TestID: TODO: add test ID at here 
 *
 * \param p [in] struct used by RPC framework which consists of calling function id,
 * input & output parameters and etc
 *
 * \return - none
 * */
tlmRmtCfgSrvRpcAsyncDesc::tlmRmtCfgSrvRpcAsyncDesc(RPC_IOCTL_PTR p) 
  : tlmRmtCfgSrvRpcCommonDesc(p), RPCAsyncDescriptor()  {
    //#[ operation tlmRmtCfgSrvRpcAsyncDesc(RPC_IOCTL_PTR)
    //#]
    pIOCTL = cpyRPC_IOCTL(p);
}

/**
 * \brief	Destructor of Alerts Asynchronous descriptor
 *
 * \param - none
 *
 * \return - none
 * */
tlmRmtCfgSrvRpcAsyncDesc::~tlmRmtCfgSrvRpcAsyncDesc() {
    //#[ operation ~tlmRmtCfgSrvRpcAsyncDesc()
    //#]
    try
    {
        freeRPC_IOCTL(this->pIOCTL);
    }
    catch(...)
    {
    }    
}

/**
 * \brief	Execute RPC function based on function id
 *
 * TestID: DPCA_Alerts_Sys_SW_DD_1048
 *
 * \param - none
 *
 * \return - none
 * */
void tlmRmtCfgSrvRpcAsyncDesc::execute() {
    //#[ operation execute()
    __execute();
    //#]
}


